package cn.wbnyua.msm.web.domain;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 作者：wbnyua.
 * 创建时间: 2023/2/9 14:17.
 */

@Data
public class SysUser {

    private Long id;
    @NotBlank
    @Length(min = 2,max = 6,message = "账号有误")
    private String account;
    @Length(min = 5,message = "密码长度要超过5")
    private String password;
    private boolean status;

}
